<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>社团注册</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
    <script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
	<script type="text/javascript" src="js/jquery.validate.js"></script>
	<script type="text/javascript" src="js/communityregistered.js"></script>
  </head>
  
  <body>
  <input id="result" name="result" value="${result}" type="hidden">
  <form  action="<%=basePath%>community/addcommunity" method="post" id="myform">
    <table width="200" border="1">
  <tr>
    <td>社团名称：</td>
    <td>  <input type="text" class="required" title="请输入社团名称" name="cname" id="cname" onblur="return checkCname();"/>
            <span id="msgCname" style="color:red;font-size:12px;">*</span>
    </td>
  </tr>
  <tr>
    <td>申请账号：</td>
    <td>  <input type="text" class="required" title="请输入申请账号"  name="cnumber" id="cnumber" onblur= "return checkCnumber();" />
          <span id="msgCnumber" style="color:red;font-size:12px;">*</span>
         
    </td>
  </tr>
  <tr>
    <td>密码：</td>
    <td>  <input type="password" class="required " title="请输入密码" name="cpasswd" id="cpasswd" />
           <span id="msgCpasswd" style="color:red;font-size:12px;">*</span>
    </td>
  </tr>
  <tr>
    <td>确认密码：</td>
    <td>  <input type="password" class="required confirm_password" title="请输入确认密码" name="confirm_password" id="confirm_password" onchange="return checkPasswd();" />
           <span id="msgConfirm_password" style="color:red;font-size:12px;">*</span>
    
    </td>
  </tr>
  <tr>
    <td>社团类别：</td>
    <td>  <input type="text" name="properties" id="properties" /></td>
  </tr>
  <tr>
    <td>指导老师：</td>
    <td>  
          <input type="text" name="teacher" id="teacher" /> 
     </td>
  </tr>
  <tr>
    <td>社团简介</td>
    <td>  <input type="text" name="introduction" id="introduction" /></td>
  </tr>
  <tr>
    <td>申请人姓名</td>
    <td>  <input type="text" name="petitioner" id="petitioner" /></td>
  </tr>
   <tr>
    <td>联系方式</td>
    <td>  <input type="text"name="phone" id="phone" /></td>
  </tr> 
  <tr>
    <td><input name="submit" type="submit" value="注册"/></td>
    <td><input name="" type="reset" value="重置"/></td>
  </tr>
  
</table>
</form>
  </body>
</html>
